Skip to content

Add demo realm#30

Open
beenje wants to merge 93 commits intomasterfrom
add-demo-realm
Open

Add demo realm#30
beenje wants to merge 93 commits intomasterfrom
add-demo-realm

Conversation

@beenje
Copy link
Copy Markdown
Collaborator

@beenje beenje commented Dec 19, 2025

For the mobile app to be validated when submitting it to the App Store/Play Store, external users need to be able to login using OpenId Connect. We added a "demo" realm that can be used for this purpose (without 2FA).

There is a new endpoint to discover the realm (real or demo) that should be used from the mobile app.
No configuration regarding the keycloak realm is needed in the mobile app.

We also introduced a DEMO_ACCOUNT_USERNAME variable to be able to use another username than demo.

Those changes shouldn't have any impact when using OIDC_ENABLED: False.

Note that the branch used at MAX IV had diverged. I did a merge, hence the high number of commits.

beenje and others added 30 commits December 22, 2021 11:18
Enable session based on cookie
This should be good enough for testing.
Can be changed to SSE later.
Required by starlette to serve static files
Do not pin dependencies in setup.py (use requirements.txt for that)
Add web ui

See merge request kits-maxiv/kubernetes/notify/notify-server!3
Fix tests new pydantic

See merge request kits-maxiv/kubernetes/notify/notify-server!6
@beenje
Copy link
Copy Markdown
Collaborator Author

beenje commented Dec 19, 2025

If you are interested, here are our mobile apps that we updated to login via OpenId connect:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants